package com.hskn.hss.utils.redis.key;

import com.hskn.hss.utils.StringUtils;
import com.hskn.hss.utils.redis.BasePrefix;

/**
 * 该车辆违规停留的持续时间
 */
public class CarViolationStopTimeKeyToday extends BasePrefix {

    public static final int TOKEN_EXPIRE = StringUtils.getSecondsNextEarlyMorning().intValue();

    public static final String CAR_VIOLATION_STOP_TIME_KEY_PREFIX = "CAR_VIOLATION_STOP_TIME_KEY_TODAY_";

    private CarViolationStopTimeKeyToday(int expireSeconds, String prefix) {
        super(expireSeconds, prefix);
    }

    public static CarViolationStopTimeKeyToday token = new CarViolationStopTimeKeyToday(TOKEN_EXPIRE, CAR_VIOLATION_STOP_TIME_KEY_PREFIX);
}
